package com.isoft.controller.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by yigeyanse on 2017/6/20.
 */
@Controller
public class TemplatesController {
    @RequestMapping("/helloTemplate")
    public String hello(ModelMap model) {
        model.put("hello","from TemplateController.helloHtml");
        return "/hello";
    }

}
